package logic;

import java.io.File;
import java.util.Iterator;

import logic.file.IFile;
import logic.file.LocalDirectory;

//UNUSED
public class DirectoryIterator implements Iterator<IFile>{
	
	LocalDirectory directory;
	int i = 0;

	public DirectoryIterator(LocalDirectory localDirectory) {
		directory = localDirectory;
	}

	@Override
	public boolean hasNext() {
		if (i < directory.getFilesCount()-1) {
			return true;
		}
		return false;
	}

	@Override
	public IFile next() {
		i++;
		File f = new File("dasf");
		return null;
	}

	@Override
	public void remove() {
		
		
	}

}
